﻿using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations.Schema;

namespace CRM.Models
{
    [Table("CompanyPointsConfig")]
    [Comment("公司积分配置")]
    // [Index(nameof(Company), Name = "Uid")] // 索引
    public class CompanyPointsConfig :BaseModel
    {
        [Comment("Id")]
        public int Id { get; set; }

        [Comment("UserId")]
        public int UserId { get; set; }
        
        [Comment("GroupId")]
        public int GroupId { get; set; }
        
        [Comment("CompanyId")]
        public int CompanyId { get; set; }
        
        [Comment("OemId")]
        public int OemId { get; set; }

        [Comment("SendEmailPoints")] 
        public int SendEmailPoints { get; set; }
    }
}